// $Id: partitionizerhighlow.h 55 2004-10-13 19:30:12Z hansemil $
#ifndef PARTITIONIZERHIGHLOW_H
#define PARTITIONIZERHIGHLOW_H

#include "partitionizer.h"

/**
 * Creates two partitions, a partition "High" for all nodes with higher upload capabilities than the median upload speed for the distribution currently used and "Low" for those with lower.
 */
class PartitionizerHighLow : public Partitionizer
{
public:
	PartitionizerHighLow();

	int getPartition(Node *);
	int getPartitionCount();
	char *getPartitionName(int);

private:
	char m_names[2][12];
};

#endif
